<%--
  Created by IntelliJ IDEA.
  User: 13072
  Date: 2024/9/13
  Time: 22:23
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>

<form action="/java-web-02/register_servlet" method="post">
    <p>昵称：<input type="text" name="username" placeholder="please enter username" required></p>
    <p>电话：<input type="tel" name="tel" placeholder="please enter phoneNumber" required></p>
    <p>密码：<input type="password" name="password" placeholder="please enter password" required></p>
    <p>年龄：<input type="number" name="age" placeholder="please enter age"></p>
    <p>邮箱：<input type="email" name="email" placeholder="please enter email" required></p>
    <p>
        性别：
        <label> <input type="radio" name="sex" value="男">男</label>
        <label> <input type="radio" name="sex" value="女">女</label>
    </p>

    <p>
        爱好：
        <label><input type="checkbox" name="favor" value="足球">足球&nbsp;&nbsp;</label>
        <label><input type="checkbox" name="favor" value="篮球">篮球&nbsp;&nbsp;</label>
        <label><input type="checkbox" name="favor" value="羽毛球">羽毛球&nbsp;&nbsp;</label>
        <label><input type="checkbox" name="favor" value="乒乓球">乒乓球</label>
    </p>

    <p>
        <input type="submit" value="注册">
        &nbsp;&nbsp;&nbsp;&nbsp;
        <a href="login.jsp">我已有账号，直接登录</a>
    </p>


</form>

</body>

</html>
